﻿using SqlSugar;

namespace Inventory
{
    public class Inventory_Data
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int id { get; set; }

        /// <summary>
        /// 模板ID
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int templateId { get; set; }

        /// <summary>
        /// 贴纸名称
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string stickerName { get; set; }

        /// <summary>
        /// 模板
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public string doppler { get; set; }

        /// <summary>
        /// 购买价格
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public double purchasePrice { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public int quantity { get; set; }

        /// <summary>
        /// 现价
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public double price { get; set; }

        /// <summary>
        /// 出售价格
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public double salePrice { get; set; }

        /// <summary>
        /// 出售后盈利
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public double afterSaleProfit { get; set; }

        /// <summary>
        /// 到手价格
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public double marketPrice { get; set; }

        /// <summary>
        /// 利润
        /// </summary>
        [SugarColumn(IsNullable = true)]
        public double profit { get; set; }
    }
}
